const { contextBridge, ipcRenderer } = require("electron");
contextBridge.exposeInMainWorld("tts", {
  getSpeakers: () => ipcRenderer.invoke("tts_getSpeakers"),
  updateCfg: (...args) => ipcRenderer.invoke("tts_updateCfg", args),
  synth: (...args) => ipcRenderer.invoke("tts_synth", args),
});
